package com.xinzhang;

import com.xinzhang.base.BaseActivity;


import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.webkit.WebView;
import android.widget.ImageView;


public class weibo extends BaseActivity implements OnClickListener {

	private ImageView deback;
	private WebView webView;
	protected void onCreate(Bundle savedInstanceState) {
		 
		super.onCreate(savedInstanceState);
		setContentView(R.layout.weibo);
		BaseApp myApp=(BaseApp)getApplication();
		if(myApp.getUserInfo()==null)
		{
			Intent intent=new Intent(this,ilogin.class);
			startActivity(intent);
			finish();
		}
		deback=(ImageView)findViewById(R.id.dbtnback);
		deback.setOnClickListener(this);
		
		
		webView=(WebView)findViewById(R.id.weiboweb);
		webView.loadUrl("http://3g.picido.com/picidosinaweibo.aspx?userid="+myApp.getUserInfo().getUserid()+"");
	}


	public void onClick(View v) {
		// TODO Auto-generated method stub
		if(v.getId()==R.id.dbtnback)
		{
			finish();
		}
		
	}
	
	
}
